extends "../cTDP_3_1/cTDP_3_1.gd"
func _info():
	pass

func _connect():
	._connect()
var baseId = ""
func _extInit():
	._extInit()

	lv = 4
	attCoe.atk *=1.5
	attCoe.maxHp *= 1.5
	addCdSkill("xz2",11)
	addSkillTxt("德尔西尼甲：增加攻击范围内友方减伤增加10%|防御增加41点，持续6秒[cd:11秒]")

func _castCdSkill(id):
	._castCdSkill(id)
	var chas = getAllChas(2)
	if id == "xz2":
		cst("德尔西尼甲","000000",position)
		if !chas.size():return
		for i in chas:
			if !inrange(i.cell,cell,att.atkRan):continue
			i.addBuff(BF1.new(1))

class BF1:
	extends Buff
	func _init(lv):
		attInit()
		life = lv * 6
		att.mgiDef = 41
		att.def = 41
		att.defR = 0.1